package plus.xj17520.org.mapper;

import plus.xj17520.basic.mysuper.MyBaseMapper;
import plus.xj17520.org.domain.Employee;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface EmployeeMapper extends MyBaseMapper<Employee> {
    //一定要重写这个方法
    default  Class<Employee> getTClass(){
        return Employee.class;
    }

    public Employee findOne(Long id);

    List<Employee> findAll();

}
